package com.design.designmode.create.factory.ab;

/**
 * @author hxl
 * @since 2023-04-15
 */
public class AbFactory2 implements AbFactory {
    @Override
    public ProductA createProductA() {
        return new ProductA2();
    }

    @Override
    public ProductB createProductB() {
        return new ProductB2();
    }
}
